package fr.phil.daoservice;

import java.util.List;

import fr.phil.daoimphql.ImpHqlArticle;

import fr.phil.model.beans.Article;

/**
 * PhilippeBlog .
 * @author Philippe
 * Package : fr.phil.daoservice
 * Fichier : ServiceArticle.java
 * Date : 14 janv. 2013 
 */
public class ServiceArticle  implements Iservices<Article> {

	/**
	 * 
	 */
	private final Iservices<Article> iservices;
	
	/**
	 * --------------------------------------------------------------------
	 * Constructeur d'instanciation de la classe d'implementation du DAO.
	 * --------------------------------------------------------------------
	 */
	/**
	 * @param impHqlArticle =.
	 */
	public ServiceArticle(final ImpHqlArticle impHqlArticle) {
			this.iservices = impHqlArticle;
	}

	@Override
	public final int saveObject(final Article object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public final int deleteObject(final Article object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public final int updateObject(final Article object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public final Article getObject(final int idObjet) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public final List<Article> listObject() {
		return iservices.listObject();	}

}
